/**
 * 主页js
 */
// ***************	网站首页 begin	***************	//
if(_EsdDynamicTransformationScript.isSiteIndexPage){
	
	$(".sele_wzdh:eq(0)").attr("title","省政府各部门网站");
	$(".sele_wzdh:eq(1)").attr("title","国家、省人（民）防网站");
	$(".sele_wzdh:eq(2)").attr("title","省内人防网站");
	
	//第一部分  省级人防动态/地区人防动态
	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num1 = $(".slideTxtBox1 .bd ul:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num2 = $(".slideTxtBox1 .bd ul:eq(1) a").length-1;

	//各个选项名称
	_EsdDynamicTransformationScript.esd1TagNum1 = $(".slideTxtBox1 .hd ul li:eq(0) a");
	_EsdDynamicTransformationScript.esd1TagNum2 = $(".slideTxtBox1 .hd ul li:eq(1) a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd1TagNum1Content1 = $(".slideTxtBox1 .bd ul:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd1TagNum2Content1 = $(".slideTxtBox1 .bd ul:eq(1) a:eq(0)");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd1TagNum1ContentN = $(".slideTxtBox1 .bd ul:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	_EsdDynamicTransformationScript.esd1TagNum2ContentN = $(".slideTxtBox1 .bd ul:eq(1) a:eq("+ _EsdDynamicTransformationScript.num2+")");

	//第1个tab 省级人防动态
	_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_sjrf_dqrf_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTagCircleNum5.click();
				_EsdDynamicTransformationScript.esdTagANum5.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_sjrf_dqrf_1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_sjrf_dqrf_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_sjrf_dqrf_s1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_sjrf_dqrf_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_sjrf_dqrf_e1");
	});

	//第2个tab 地区人防动态
	_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_sjrf_dqrf_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_sjrf_dqrf_2");
	});

	_EsdDynamicTransformationScript.esd1TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_sjrf_dqrf_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_sjrf_dqrf_s2");
	});

	//第二部分  公示公告/时事要闻

	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num3 = $(".slideTxtBox3:eq(0) .bd ul:eq(0) a").length-1;
	_EsdDynamicTransformationScript.num4 = $(".slideTxtBox3:eq(0) .bd ul:eq(1) a").length-1;

	//各个选项名称
	_EsdDynamicTransformationScript.esd2TagNum1 = $(".slideTxtBox3:eq(0) .hd ul li:eq(0) a");
	_EsdDynamicTransformationScript.esd2TagNum2 = $(".slideTxtBox3:eq(0) .hd ul li:eq(1) a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd2TagNum1Content1 = $(".slideTxtBox3:eq(0) .bd ul:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd2TagNum2Content1 = $(".slideTxtBox3:eq(0) .bd ul:eq(1) a:eq(0)");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd2TagNum1ContentN = $(".slideTxtBox3:eq(0) .bd ul:eq(0) a:eq("+_EsdDynamicTransformationScript.num3+")");
	_EsdDynamicTransformationScript.esd2TagNum2ContentN = $(".slideTxtBox3:eq(0) .bd ul:eq(1) a:eq("+_EsdDynamicTransformationScript.num4+")");

	//第1个tab 公式公告
	_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_gsgg_rsyw_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_gsgg_rsyw_1");
	});

	_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_gsgg_rsyw_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_gsgg_rsyw_s1");
	});

	_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_gsgg_rsyw_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_gsgg_rsyw_e1");
	});

	//第2个tab 时事要闻
	_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_gsgg_rsyw_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_gsgg_rsyw_2");
	});

	_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_gsgg_rsyw_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd2TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_gsgg_rsyw_s2");
	});
		
	//第三部分	办发文件/重要言论/人事信息
	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num5 = $(".slideTxtBox3:eq(1) .bd ul:eq(0) a").length-1;
	_EsdDynamicTransformationScript.num6 = $(".slideTxtBox3:eq(1) .bd ul:eq(1) a").length-1;
	_EsdDynamicTransformationScript.num7 = $(".slideTxtBox3:eq(1) .bd ul:eq(2) a").length-1;

	//各个选项名称
	_EsdDynamicTransformationScript.esd3TagNum1 = $(".slideTxtBox3:eq(1) .hd ul li:eq(0) a");
	_EsdDynamicTransformationScript.esd3TagNum2 = $(".slideTxtBox3:eq(1) .hd ul li:eq(1) a");
	_EsdDynamicTransformationScript.esd3TagNum3 = $(".slideTxtBox3:eq(1) .hd ul li:eq(2) a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd3TagNum1Content1 = $(".slideTxtBox3:eq(1) .bd ul:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd3TagNum2Content1 = $(".slideTxtBox3:eq(1) .bd ul:eq(1) a:eq(0)");
	_EsdDynamicTransformationScript.esd3TagNum3Content1 = $(".slideTxtBox3:eq(1) .bd ul:eq(2) a:eq(0)");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd3TagNum1ContentN = $(".slideTxtBox3:eq(1) .bd ul:eq(0) a:eq("+_EsdDynamicTransformationScript.num5+")");
	_EsdDynamicTransformationScript.esd3TagNum2ContentN = $(".slideTxtBox3:eq(1) .bd ul:eq(1) a:eq("+_EsdDynamicTransformationScript.num6+")");
	_EsdDynamicTransformationScript.esd3TagNum3ContentN = $(".slideTxtBox3:eq(1) .bd ul:eq(2) a:eq("+_EsdDynamicTransformationScript.num7+")");

	//第1个tab 办发文件
	_EsdDynamicTransformationScript.esd3TagNum1.focus(function (e) {
		
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_s1");
	});

	_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_e1");
	});

	//第2个tab 重要言论
	_EsdDynamicTransformationScript.esd3TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_2");
	});

	_EsdDynamicTransformationScript.esd3TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_s2");
	});

	_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_e2");
	});


	//第3个tab 人事信息
	_EsdDynamicTransformationScript.esd3TagNum3.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd3TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd3TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum3Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd3TagNum3.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_3");
	});

	_EsdDynamicTransformationScript.esd3TagNum3Content1.focus(function () {
		$(this).bind("keydown.keydown_bfwj_zyyl_rsxx_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd3TagNum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd3TagNum3Content1.blur(function () {
		$(this).unbind("keydown.keydown_bfwj_zyyl_rsxx_s3");
	});

	//第四部分	法律法规/规章规范性文件

	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num8 = $(".slideTxtBox3:eq(2) .bd ul:eq(0) a").length-1;
	_EsdDynamicTransformationScript.num9 = $(".slideTxtBox3:eq(2) .bd ul:eq(1) a").length-1;

	//各个选项名称
	_EsdDynamicTransformationScript.esd4TagNum1 = $(".slideTxtBox3:eq(2) .hd ul li:eq(0) a");
	_EsdDynamicTransformationScript.esd4TagNum2 = $(".slideTxtBox3:eq(2) .hd ul li:eq(1) a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd4TagNum1Content1 = $(".slideTxtBox3:eq(2) .bd ul:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd4TagNum2Content1 = $(".slideTxtBox3:eq(2) .bd ul:eq(1) a:eq(0)");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd4TagNum1ContentN = $(".slideTxtBox3:eq(2) .bd ul:eq(0) a:eq("+_EsdDynamicTransformationScript.num8+")");
	_EsdDynamicTransformationScript.esd4TagNum2ContentN = $(".slideTxtBox3:eq(2) .bd ul:eq(1) a:eq("+_EsdDynamicTransformationScript.num9+")");

	//第1个tab 规章
	_EsdDynamicTransformationScript.esd4TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_flfg_gzwj_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_flfg_gzwj_1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_flfg_gzwj_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_flfg_gzwj_s1");
	});

	_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_flfg_gzwj_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_flfg_gzwj_e1");
	});

	//第2个tab 规范性文件
	_EsdDynamicTransformationScript.esd4TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_flfg_gzwj_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd4TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd4TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esd4TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_flfg_gzwj_2");
	});

	_EsdDynamicTransformationScript.esd4TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_flfg_gzwj_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd4TagNum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				
			}
		});
	});
	_EsdDynamicTransformationScript.esd4TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_flfg_gzwj_s2");
	});

	// 第五部分 重要信息转载的：国务院信息/省政府信息
	//将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
	_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
		if(iframeObj != undefined){
			jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
			jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
			jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
			jsObj.self = iframeObj;
		}
	};

	//声明iframe操作对象
	_EsdDynamicTransformationScript.iframe1 = {};
	_EsdDynamicTransformationScript.iframe2 = {};

	_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[0];   // 需要修改 这里的iframe获取
	_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[1];   // 需要修改 这里的iframe获取

	//选项卡标签 jquery对象
	_EsdDynamicTransformationScript.iframeTab1 = $(".slideTxtBox:eq(4) .hd ul a:eq(0)");  // 需要修改 这里的tab获取
	_EsdDynamicTransformationScript.iframeTab2 = $(".slideTxtBox:eq(4) .hd ul a:eq(1)");  // 需要修改 这里的tab获取

	// 判断iframe是否有效
	if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

		// 当iframe都加载完毕后执行代码 使用setInterval
		_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){	
			
			if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined) 
					&&_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined ){
				clearInterval(_EsdDynamicTransformationScript.iframeInterval);
				
				//通过方法赋值   
				_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);  
				_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2); 

				//第一个标签 切换
				_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
				 console.log("tab1获取到焦点");
				 e = $(this).mouseover();
				 $(this).bind("keydown.iframeKeydown_1", function (e) {
					 if (e.shiftKey && e.keyCode == 9) {
							console.log("tab1向回切换");
					 } else if (e.keyCode == 9) {
						 console.log("tab1继续切换到iframe上");
						 $(_EsdDynamicTransformationScript.iframe1.first_aLink).focus();
						 console.log(document.activeElement);
						 return false;
					 }
				 });
				});
				_EsdDynamicTransformationScript.iframeTab1.blur(function () {
				 $(this).unbind("keydown.iframeKeydown_1");
				});

				//第一个标签的第一个链接
				$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
				 console.log("第一个iframe的第一条获得焦点");
				 $(this).bind("keydown.iframeKeydown_first1", function (e) {
					 if (e.shiftKey && e.keyCode == 9) {
							console.log("第一个iframe的第一条向上切换");
						 _EsdDynamicTransformationScript.iframeTab1.focus();
						 return false;
					 } else if (e.keyCode == 9) {
							console.log("第一个iframe的第一条继续切换");
					 }
				 });
				});
				$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
				 $(this).unbind("keydown.iframeKeydown_first1");
				});

				//第一个标签的最后一个链接
				$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
				 console.log("第一个iframe的最后一条获得焦点");
				 $(this).bind("keydown.iframeKeydown_last1", function (e) {
					 if (e.shiftKey && e.keyCode == 9) {
							console.log("第一个iframe的最后一条向上切换");
					 } else if (e.keyCode == 9) {
							console.log("第一个iframe的最后一条继续切换 到下一个标签");
						 _EsdDynamicTransformationScript.iframeTab2.focus();
						 return false;
					 }
				 });
				});
				$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
				 $(this).unbind("keydown.iframeKeydown_last1");
				});


				//第二个标签切换
				_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
				 console.log("tab2获取到焦点");
				 e = $(this).mouseover();
				 $(this).bind("keydown.iframeKeydown_2", function (e) {
					 if (e.shiftKey && e.keyCode == 9) {
							console.log("第二个标签向回切换 到第一个标签的最后一条");
						 _EsdDynamicTransformationScript.iframeTab1.mouseover();
						 $(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
						 return false;
					 } else if (e.keyCode == 9) {
						 $(_EsdDynamicTransformationScript.iframe2.first_aLink).focus();
						 console.log(document.activeElement);
						 return false;
					 }
				 });

				});
				_EsdDynamicTransformationScript.iframeTab2.blur(function () {
				 $(this).unbind("keydown.iframeKeydown_2");
				});
			}
			
		}, 500);

	}

	
	
	//zxd 20200203
	$(function(){
	$(".inp_dzxx").attr("tabindex","")
	$(".btn_dzxx1").attr("tabindex","")
	})
}
// ***************	网站首页 end	***************	//
